﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VideoBlog.Web.Models.PlaylistViewModel>" %>

<div class="featured">
        <div class="h1"><%= Model.Title %></div>
        <%VideoBlog.Data.Entities.Video v = Model.Videos.First();
               %>
       
         <img class="videolink" src="/Content/images/Evolution.jpg" />
            <% Html.RenderPartial("PlaylistItem", v); %>
</div>
         <ul>
          <% foreach (VideoBlog.Data.Entities.Video vid in Model.Videos.Skip(1)){%>
         <li>
         <% Html.RenderPartial("PlaylistItem",vid); %>
         </li>
         <%} %>
         </ul>